<#--
/*
 * Copyright 2012 Claude Houle claude.houle@gmail.com
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-->
@color_tooltip_background: #F5E2DC;
@color_tooltip_border: #DC917F;

/* --- --- --- --- --- --- */
/** Tooltip */
.uic-tooltip{
	min-width:160px;
	max-width:380px;
	min-height:25px;
	position: absolute;
	z-index: 9999;
	padding: .8em;
	border-width: 2px !important;
	border-style: solid;
	border-color: @color_tooltip_border;
	background-color: @color_tooltip_background;
	font-size:0.75em;

	.uic-tooltip-pointer,
	.uic-tooltip-pointer-inner{
		position: absolute;
		width:0;
		height:0;
		border-bottom-width: 0;
		background: none;
	}
}

.uic-tooltip-left{
	.uic-tooltip-pointer{
		border-left: 10px solid transparent;
		border-right: 0px solid transparent;
		border-top: 10px solid  @color_tooltip_border;
		top:100%;
		left:90%;
	}

	.uic-tooltip-pointer-inner{
		border-left: 12px dotted transparent;
		border-right: 0;
		border-top: 10px solid @color_tooltip_background;
		top: -14px;
		right: 1px;
	}
}

.uic-tooltip-right {
	.uic-tooltip-pointer{
		border-left: 0px solid transparent;
		border-right: 10px solid transparent;
		border-top: 10px solid  @color_tooltip_border;
		top:100%;
		left:10%;
	}

	.uic-tooltip-pointer-inner{
		border-left: 0;
		border-right: 12px dotted transparent;
		border-top: 10px solid @color_tooltip_background;
		top: -15px;
		left: 2px;
	}

}